﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SkypeStudio.Framework;

namespace SkypeStudio.Controls.Model
{
    public class ChatMessage : NotifyPropertyChangedBase
    {
        public string ChatName { get; set; }
        private Contact _User;
        public Contact User
        {
            get
            {
                return _User;
            }
            set
            {
                if (_User == value)
                    return;
                _User = value;
                NotifyOfPropertyChange(() => User);
            }
        }

        private string _Message;
        public string Message
        {
            get
            {
                return _Message;
            }
            set
            {
                if (_Message == value)
                    return;
                _Message = value;
                NotifyOfPropertyChange(() => Message);
            }
        }
    }
}
